package com.atguigu.spzx.pay;

import com.atguigu.spzx.common.anno.EableUserWebMvcConfiguration;
import com.atguigu.spzx.pay.properties.AlipayProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author Mahone
 */
@SpringBootApplication
@EableUserWebMvcConfiguration
@EnableFeignClients(basePackages = "com.atguigu.spzx.feign.order")
@EnableConfigurationProperties(value = {AlipayProperties.class})
@MapperScan("com.atguigu.spzx.pay.mapper")
public class PayApplication {

    public static void main(String[] args) {
        SpringApplication.run(PayApplication.class , args) ;
    }

}